www.gusucode.com > HCONLY站长管理助手 V1.3 > HCONLY站长管理助手 V1.3\code\tools\shua_pv\1.asp
<% db="fadmy.asa" Set conn = Server.CreateObject("ADODB.Connection") connstr="driver={Microsoft Access Driver (*.mdb)};dbq=" & Server.MapPath(db) conn.Open connstr %> <% dim url,time1,no url=trim(request("url")) time1=trim(request("time1")) set rs=server.createobject("adodb.recordset") sql="select * from url where url='"&url&"'" rs.open sql,conn,3,3 if rs.eof then rs.addnew rs("url")=url rs("time")=time1 rs.update end if rs.close if request("no")<>"" then no=request("no")+1 else no=1 end if %> <html> <head> <meta http-equiv="Content-Language" content="zh-cn"> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>正在刷新中.....</title> </head> <body topmargin="0" leftmargin="0"> <iframe name="I1" width="286" height="41" border="0" frameborder="0" scrolling="no" src="2.asp?url=<%=url%>&time1=<%=time1%>&no=<%=no%>">浏览器不支持嵌入式框架,或被配置为不显示嵌入式框架。</iframe> </body> </html>